package com.example.dao.impl;

import com.example.dao.UserDao;
import lombok.Data;

/* 操作mysql */
@Data
public class UserDaoImpl implements UserDao {


    @Override
    public int add() {
        System.out.println("mysql操作新增");
        return 0;
    }

    @Override
    public int update() {
        System.out.println("mysql操作修改");
        return 0;
    }

    @Override
    public int delete() {
        System.out.println("mysql操作删除");
        return 0;
    }

    @Override
    public void getById(int id) {
        System.out.println("mysql操作查询");
    }
}
